package com.zzyl.common.constant;

/**
 * Redis常量
 *
 * @author zzyl
 */
public class RedisConstants {

    /**
     * 文件上传缓存key healthAssessment
     */
    public static final String HEALTH_ASSESSMENT = "upload:healthAssessment";

    /**
     *  从iot平台获取所有产品的key
     */
    public static final String IOT_ALL_PRODUCT_LIST = "iot:all_product";

    /**
     *  从iot平台获取设备最新数据的key
     */
    public static final String IOT_DEVICE_LAST_DATA = "iot:device_last_data";

    /**
     * 报警规则连续触发次数，缓存前缀
     */
    public static final String ALERT_TRIGGER_COUNT_PREFIX = "iot:alert_trigger_count:";
    /**
     * 报警规则沉默周期，缓存前缀
     */
    public static final String ALERT_SILENT_PREFIX = "iot:alert_silent:";
}
